﻿using Axiom.CodeManifold.WPF.Properties;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace Axiom.CodeManifold.WPF
{
	public partial class App : Application
	{
		public App()
			: base()
		{

		}
		private void OnApplicationUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
		{
			var sb = new StringBuilder();

			sb.AppendLine("...bad  :(");
			sb.AppendLine("");
			sb.AppendLine("");
			sb.AppendLine(e.Exception.ToString());

			MessageBox.Show(sb.ToString());

		}

		private void OnApplicationStartup(object sender, StartupEventArgs e)
		{
			Helpers.StartUp();
		}

		private void OnApplicationExit(object sender, ExitEventArgs e)
		{
		}
	}
}
